package com.zhongshan.ga.mybatis.dao;

import java.util.ArrayList;
import java.util.Map;

import org.apache.ibatis.annotations.Select;

import com.zhongshan.ga.mybatis.bean.SpecialLocalProduct;

/**
 * 地方特产数据访问接口
 * @author yanqi
 *
 */
public interface ILocalProductInfoDao {
	/**
	 * 查询地方特产信息列表
	 * @param specialLocalProductMap 指定查询的开始的标及查询的条数
	 * @return ArrayList<SpecialLocalProduct>
	 */
	@Select("SELECT * FROM speciallocalproduct where isActivity = 1 ORDER BY specialProductOrder LIMIT #{startIndex},#{endIndex}")
	public ArrayList<SpecialLocalProduct> getSpecialLocalProductList(Map<String, Integer> specialLocalProductMap);
}
